lib/repo: Add ostree_repo_equal() for comparing repos
authorPhilip Withnall <withnall@endlessm.com>
Fri, 15 Sep 2017 14:26:22 +0000 (15:26 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 19 Sep 2017 14:51:09 +0000 (14:51 +0000)
commit981eb6c2267f076bbb278f634fda83aa9dfac2a9
tree7f62980ec212618917752ae7d4a5ea39e254e5c1
parent1036cc808470a8d17b83f5896c000fa76c8f43d0
lib/repo: Add ostree_repo_equal() for comparing repos

This will compare their root directory inodes to see if they are the
same repository on disk. A convenience method for the users of the
public API who can’t access OstreeRepo.inode.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1179
Approved by: cgwalters
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h